package com.zzxy.spring12.dao.impl;

import com.sun.deploy.security.JarSignature;
import com.zzxy.spring12.dao.IAccountDao;
import com.zzxy.spring12.service.dao.JdbcDaoSupport;

public class AccountDaoImpl extends JdbcDaoSupport implements IAccountDao {

    @Override
    public void out(String outer, int money) {
        this.getJdbcTemplate().update("update account set money = money - ? where username = ?", money, cuter);

    }

    private JarSignature getJdbcTemplate() {
        return null;
    }

    @Override
    public void in(String inner, int money) {
        this.getJdbcTemplate().update("update accout set money = money + ?where username = ?", money, inner);

    }


}